// P1421 write by cn_ryh
#include <iostream>
using namespace std;
int main()
{
	int a,b;
	cin>>a>>b;
	int c = a*10+b;
	cout<<c/19<<endl;
	return 0;
}